package com.ycc.springcloud.pojo;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @Author: ycc
 * @Date: 2021/6/27 10:27
 */
@TableName("orderlist")
public class OrderList {
    private String id;//编号
    private Double money;//交易金额
    private Date time;//交易时间
    private String username;//付费者

    public OrderList() {
    }

    public OrderList(String id, Double money, Date time,String username) {
        this.id = id;
        this.money = money;
        this.time = time;
        this.username=username;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(Double money) {
        this.money = money;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
}
